<?php
Class GetRouterComponent extends Component {
    public function getRouter($node_type_id=null){
        switch($node_type_id){
            case Introduction_detail:$result = '/trang-truong-gioi-thieu';break;
            case Education:$result = '/trang-truong-dao-tao';break;
            case Student_affairs:$result = '/trang-truong-cong-tac-sinh-vien';break;
            case Scientific_research:$result = '/trang-truong-nghien-cuu-khoa-hoc';break;
            case International_cooperation:$result = '/hop-tac-quoc-te';break;
            case Library:$result = '/trang-truong-thu-vien';break;
            case Recruitment:$result = '/trang-truong-thu-vien';break;
            case News:$result = '/trang-truong-chi-tiet-tin-tuc';break;            
            default:
        }
        return $result;    
    }   
}  
?>
